﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace Swork03_28.Api.Application.Commands.FarmedCommand
{
    public class FirmCreateCommand:IRequest<int>
    {
        public int Id { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        [StringLength(50)]
        public string? CompanyName { get; set; }

        /// <summary>
        /// 公司照片
        /// </summary>
        [StringLength(50)]
        public string? CampanyImage { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        [StringLength(50)]
        public string? BatchId { get; set; }

        /// <summary>
        /// 养殖负责人
        /// </summary>
        [StringLength(50)]
        public string? Principal { get; set; }

        /// <summary>
        /// 养殖数量
        /// </summary>
        public int Quantity { get; set; }

        
    }
}
